From ae97284409d40317c034f683b7b19050a388c2a6 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 8 Sep 2020 23:40:44 +0100 Subject: [PATCH] docs: Add a note on GtkPasswordEntry's secure storage --- gtk/gtkpasswordentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c index dfef768135..a9fbd6f30b 100644 --- a/gtk/gtkpasswordentry.c +++ b/gtk/gtkpasswordentry.c @@ -42,7 +42,10 @@ * * #GtkPasswordEntry is entry that has been tailored for entering secrets. * It does not show its contents in clear text, does not allow to copy it - * to the clipboard, and it shows a warning when Caps Lock is engaged. + * to the clipboard, and it shows a warning when Caps Lock is engaged. If + * the underlying platform allows it, GtkPasswordEntry will also place the + * text in a non-pageable memory area, to avoid it being written out to + * disk by the operating system. * * Optionally, it can offer a way to reveal the contents in clear text. * -- 2.30.2